// swift-tools-version:6.0
import PackageDescription

let package = Package(
    name: "redbox",
    platforms: [
        .macOS(.v14),
        .iOS(.v17)
    ],
    products: [
        .library(
            name: "redbox",
            targets: ["redbox"]),
    ],
    targets: [
        .target(
            name: "redbox",
            dependencies: [],
            path: ".",
            sources: [
                "ContentView.swift",
                "MainTabView.swift",
                "Models/Activity.swift",
                "Models/Box.swift",
                "Services/BatchService.swift",
                "Services/BoxManager.swift",
                "Services/ScriptService.swift",
                "Utilities/CookieManager.swift",
                "Utilities/SecurityManager.swift",
                "Views/BatchOperationView.swift",
                "Views/BoxManagementView.swift",
                "Views/HomeView.swift",
                "Views/SettingsView.swift",
                "Views/WebView.swift",
                "redboxApp.swift"
            ],
            resources: [
                .process("Assets.xcassets")
            ]
        )
    ]
)